package com.sanbuTech.foundation.manager.base;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;

import redis.clients.jedis.ShardedJedis;

import com.sanbuTech.foundation.dao.common.GenericDao;


public class BaseManager {

	@Autowired
	@Qualifier("dbDao")
	protected GenericDao dao;
	
	@Autowired
	@Qualifier("shardedJededis")
	protected ShardedJedis shardJededis;
	
	/**
	 * 调用cpp接口执行对应操作

	@Transactional(propagation=Propagation.SUPPORTS)
	public JSONObject invokeCppInterface(int requestType, Map<String, Object> paramMap){
		paramMap.put("request_type", requestType);
		return cppServer.request(paramMap);
	}
		 */
	
}
